POST /admin/realms/{realm}/clients/{id}/certificates/{attr}/generate-and-downloadGenerate new keypair and certificate and downloads private key into specified keystore format. Only generated certificate is saved in Keycloak DB, but private
key is not.
- HTTP Example:
POST /admin/realms/{realm}/clients/{id}/certificates/{attr}/generate-and-download | - API Example:
ClientAttributeCertificateResource.generateAndGetKeystore({'realm': , 'id': , 'attr': , '$entity': }); |
- Input:
- KeyStoreConfig
- Output:
- byte[] -
- Produces:
- application/octet-stream
- Consumes:
- application/json
|